package com.yb0os1.adapter.demo;

public class TypeC2Usb implements UsbSocket  {
    private final TypeCSocket typeCSocket;

    public TypeC2Usb(TypeCSocket typeCSocket) {
        this.typeCSocket = typeCSocket;
    }
    public void connectUsb() {
        System.out.println("TypeC转成Usb连接");
        typeCSocket.connectTypeC();
    }
}
